package com.wanwu.channel.facade;


import com.wanwu.channel.facade.dto.req.*;
import com.wanwu.channel.facade.dto.resp.*;
import org.apache.skywalking.apm.toolkit.trace.Trace;

/**
 * @author zhy
 * @date 2019-12-28
 */
public interface ChannelPayFacade {

    /**
     * 预下单
     * @param prepayReqDto
     * @return
     */
    @Trace(operationName = "prePay")
    ChPrepayRespDto prePay(ChPrepayReqDto prepayReqDto);


    /**
     * 交易查询
     * @param payQueryReqDto
     * @return
     */
    @Trace(operationName = "payQueryFacade")
    ChPayQueryRespDto payQuery(ChPayQueryReqDto payQueryReqDto);


}
